//
//  WYHttpServer+WYBusiness.h
//  Boss
//
//  Created by admin on 2018/7/6.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYHttpServer.h"

@interface WYHttpServer (WYBusiness)

/**
 * 查看四项分类
 */

+(void)getFourBusinessTypeSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 * 按照大类查看分类
 */
+(void)getBusinessTypeWithSortId:(NSNumber *)sortId SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
/**
 *BOSS头条
 */
+(void)getBossLineSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 * 轮播页
 */
+(void)getSlideShowSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
/**
 * BOSS严选 /merchant/bossChannel
 */

+(void)getBOSSChannelSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
/**
 * BOSS推荐
 */
+(void)getBOSSRecommendCurrentPage:(NSString *)currentPage WithPageSize:(NSString *)pageSize SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;





+(void)getBusinessModuleSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
+(void)getMoreBrandZoneWithCurrentPage:(NSString *)currentPage WithPageSize:(NSString *)pageSize SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
+(void)getMoreBrandZoneByType:(NSString *)typeId WithCurrentPage:(NSString *)currentPage WithPageSize:(NSString *)pageSize SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)gettoBusinessTemplateWithOpportunityId:(NSString *)opportunityId WithBussinessCode:(NSString *)bussinessCode SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)sendAskWithOpportunityId:(NSString *)opportunityId WithComment:(NSString *)comment SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
+(void)getIsCollectWithOpportunityId:(NSString *)opportunityId SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
+(void)getCollectionWithOpportunityId:(NSString *)opportunityId WithType:(NSString *)type SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)getApplySchemeWithBusinessCode:(NSString *)businessCode WithName:(NSString *)name WithSex:(NSString *)sex WithPhone:(NSString *)phone WithVerifyCode:(NSString *)verifyCode WithAddress:(NSString *)address WithComment:(NSString *)comment SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 * 渠道推广详情
 */

+(void)getMerchantChannelWithSortId:(NSString *)sortId WithCurrentPage:(NSString *)currentPage WithPageSize:(NSString *)pageSize SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)getMerchantBrandWithSortId:(NSString *)sortId WithCurrentPage:(NSString *)currentPage WithPageSize:(NSString *)pageSize SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)getMerchantTopLineWithSortId:(NSString *)sortId WithCurrentPage:(NSString *)currentPage WithPageSize:(NSString *)pageSize SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;




/**
 * 获取商机分享佣金
 */
+(void)getCommissionWithBusinessId:(NSString *)businessId SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

/**
 * 获取分享商机链接
 */
+(void)getCommissionShareUrlWithBusinessId:(NSString *)businessId WithCommissionId:(NSString *)commissionId SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;
/**
 * 获取商机分享用户列表
 */
+(void)getCommissionShareListWithBusinessId:(NSString *)businessId WithCurrenPage:(NSString *)currentPage SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)getBrowseListWithBusinessId:(NSString *)businessId WithCurrentPage:(NSString *)currentPage SucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;

+(void)getMerchantAdvertisingSucessBlock:(void(^)(BOOL success,id response,NSString *errorMessage))completion;








@end
